<?php

/**
 * Bookmark form.
 *
 * @package    Plum
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BookmarkForm extends BaseBookmarkForm
{
  public function configure()
  {
      unset($this['created_at']);
      $this->validatorSchema['url'] = new sfValidatorAnd(array(
          $this->validatorSchema['url'],
          new sfValidatorUrl()
      ));

      $this->widgetSchema['tags'] = new sfWidgetFormInputText();
      $this->validatorSchema['tags'] = new sfValidatorString();
  }
}
